using SharedKernel;

namespace Domain.Todos.Events;

/// <summary>
/// 待办事项完成事件
/// </summary>
public sealed class TodoItemCompletedEvent(
    Guid todoItemId,
    Guid userId,
    string description,
    DateTime completedAt) : DomainEvent
{
    public Guid TodoItemId { get; } = todoItemId;
    public Guid UserId { get; } = userId;
    public string Description { get; } = description;
    public DateTime CompletedAt { get; } = completedAt;
}
